﻿using System;

public static class Distance
{
    public static double Calculate(Point3D first, Point3D second)
    {
        double distance = 0;
        distance = Math.Sqrt(Math.Pow(first.x - second.x, 2) + Math.Pow(first.y - second.y, 2)+Math.Pow(first.z-second.z, 2));
        return distance;
    }
}